﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserMasterPage.master" AutoEventWireup="true" Inherits="_Default" CodeFile="Product Detail.aspx.cs" %>
 <%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>
 


<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder_right">
    <div class="content_product">
<div class="tool_bar">
    <p style="font-family: Arial; font-size: medium; font-weight: 200; font-style: inherit; font-variant: inherit; text-transform: none; color: #FFFFFF">New Product</p></div>
        <asp:DataList ID="DataList_product" runat="server" 
        DataKeyField="Product_Id"
            onitemcommand="DataList_product_ItemCommand"
            >
            <ItemTemplate>
                <div style="height:auto; width:718px; boder: solid 1px #d6d6d6">
                <div style="height:155px; width:223px; border:solid 1px #D6D6D6; margin:auto; float:left">
                    <asp:Image ID="Image1" runat="server" Height="150px" 
                        ImageUrl='<%# "img/img_product/"+Eval("Product_Image") %>' Width="164px" />
                    </div> 
                    <div style=" margin-top:10px; height:140px; width:400px; float:left; margin-left:10px; &lt;div style=" 
                        margin-top:10px; height:40px; width:auto; margin:auto; float:left; 
                        margin-left:10px">
                        <asp:Label ID="lbl_nameProduct" runat="server" 
                            Text='<%# Eval("Product_Name") %>' 
                            style="color: #000066; font-weight: 700"></asp:Label>
                        <br />
                        <div style="float:left; margin-top:5px; height: 30px; width:205px">
                            <p>
                                <span style="color: #000066"><strong>Price:</strong></span>
                                <asp:Label ID="lbl_price" runat="server" 
                                    style="color: #CC0000; font-weight: 700" Text='<%# Eval("Product_Price") %>'></asp:Label>
                                $</p>
                        </div>
                    </div>
                    </div>
&nbsp;
                                          
                   
                    <div style="margin-top:5px; height:30px; width:223px" >
                     <div style=" float:left; height:30px; width:110px; ">
                         <asp:ImageButton ID="ImageButton1" runat="server" CommandName="buy" 
                             Height="30px" ImageUrl="~/img/cart.png" Width="40px" 
                             onclick="ImageButton1_Click" />
                    </div>
                    </div>
                    <div class="clearfix"></div>
                    <div style="width:710px; height:auto; border: solid 1px #d6d6d6">
                    <div style="width:710px; height:auto; border: solid 1px #d6d6d6; text-align: center; color: #000066; font-size: 25px;">
                        <strong>introduce </strong>
                    </div>
                     <div style="width:710px; height:auto; border: solid 1px #d6d6d6; color: #000066;">
                         <asp:Label ID="lbl_Introduce" runat="server" 
                             Text='<%# Eval("Product_Introduction") %>'></asp:Label>
                    </div>
                    <div style="width:710px; height:auto; border: solid 1px #d6d6d6; margin-top:10px; text-align: center; color: #000066; font-size: 25px;">
                        <strong>Specifications </strong>
                    </div>
                     <div style="width:710px; height:auto; border: solid 1px #d6d6d6; color: #000066;">
                         <asp:Label ID="lbl_spec" runat="server" 
                             Text='<%# Eval("Product_Specifications") %>'></asp:Label>
                    </div>
                    </div>
                </div>
            </ItemTemplate>
        </asp:DataList>
         <CC1:COLLECTIONPAGER id="CollectionPager1" runat="server" MaxPages="6" 
            PageSize="2" ResultsFormat="" ResultsStyle="" SliderSize="6">
    </CC1:COLLECTIONPAGER>
</div>
</asp:Content>
<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <asp:Label ID="name" runat="server" style="color: #003366; font-weight: 700"></asp:Label>
</asp:Content>






<asp:Content ID="Content4" runat="server" 
    contentplaceholderid="ContentPlaceHolder2">
    <asp:LinkButton ID="lbtn_logout" runat="server" onclick="lbtn_logout_Click" 
    Font-Bold="True" Font-Underline="False" ForeColor="#003366">Log Out</asp:LinkButton>
</asp:Content>
<asp:Content ID="Content5" runat="server" 
    contentplaceholderid="ContentPlaceHolder3">
    <asp:HyperLink ID="lbtn_login" runat="server" 
        NavigateUrl="~/Customer/LogIn Customer.aspx" Font-Underline="False" 
    style="font-weight: 700; color: #003366">Log In</asp:HyperLink>
</asp:Content>







<asp:Content ID="Content6" runat="server" 
    contentplaceholderid="ContentPlaceHolder4">
    <asp:LinkButton ID="lbtn_register" runat="server" 
    onclick="lbtn_register_Click" Font-Underline="False" 
    style="font-weight: 700; color: #003366">Register</asp:LinkButton>
</asp:Content>
<asp:Content ID="Content7" runat="server" 
    contentplaceholderid="ContentPlaceHolder5">
    <div class="ch_search1">
    <asp:TextBox ID="txt_name" runat="server" Height="30px" 
        ontextchanged="TextBox1_TextChanged" Width="500px">Search...</asp:TextBox>
    &nbsp;</div>
<div class="ch_search2">
    <asp:DropDownList ID="DropDownList1" runat="server" Height="35px" Width="250px">
    </asp:DropDownList>
    &nbsp;</div>
<div class="btn_search">
    <asp:Button ID="btn_search" runat="server" BackColor="#1D1A1C" 
        BorderStyle="None" Font-Overline="False" Font-Size="Medium" ForeColor="White" 
        Height="30px" onclick="btn_search_Click" Text="Search" Width="80px" />
    &nbsp;</div>
</asp:Content>


















